#ifndef UART_MANAGER_H
#define UART_MANAGER_H

#define UART_IDX 1
#define UART_BAUD_RATE 115200
#define UART_BUFF_SIZE 100

// 单例模式保证全局只有一个实例用于访问
typedef struct UARTManager
{
    int32_t uart_idx;
} UARTManager;

// 构造函数私有化
UARTManager *get_uart_manager();
int32_t send_at_command(UARTManager *manager, const char *command, char *response, size_t response_size);

#endif